<?php
class SeasonModel {
	
	var $id_season;
	var $lib_season;
	var $cur_season;
	
	function SeasonModel($data_array) {
		foreach ($data_array as $k => $v) {
			if($k == "ID_SEASON") $this->setSeasonId($v);
			if($k == "SEASON")    $this->setLibSeason($v);
			if($k == "CURRENT")   $this->setCurSeason($v);
		}
	}
	
	function getLibSeason() {
		return $this->lib_season;
	}
	
	function setLibSeason($val) {
		$this->lib_season = $val;
	}
	
	function getSeasonId() {
		return $this->id_season;
	}
	
	function setSeasonId($val) {
		$this->id_season = $val;
	}
	
	function getCurSeason() {
		return $this->cur_season;
	}
	
	function setCurSeason($val) {
		$this->cur_season = $val;
	}
}
?>